package cn.ycc1.order.mapper;

import cn.ycc1.order.entity.Order;
import cn.ycc1.order.vo.OrderVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Title:
 * @Author ycc
 * @Date 2023/7/4 16:21
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    @Select("SELECT * FROM order_tbl WHERE id = #{id}")
    OrderVo getById(Integer id);
}
